import { Component, OnInit } from "@angular/core";

import { TableTab } from "../f10-shared/interface-shared";
import { scroll } from "../f10-shared/common-methods";

@Component({
  templateUrl: "reports.component.html",
  styleUrls: ["reports.component.less"]
})

export class ReportsComponent implements OnInit {
  timer = null;
  subLists: TableTab[] = [
    {
      label: "研究报告",
      class: 'sub-title-0'
    }
  ]
  constructor () {}

  ngOnInit() {}

  tabToggle (event) {
    this.timer = scroll(`segment-container`, event, this.timer);
  }
} 